DND: Avoid a use-after-free
authorMatthias Clasen <mclasen@redhat.com>
Wed, 11 May 2016 17:24:04 +0000 (13:24 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 11 May 2016 17:24:04 +0000 (13:24 -0400)
commit358eec297204b438809692a24cc3649658dbab5a
tree4852443765219ea0d155bdf0feb10cd58804ba01
parent7c21a32b2887657b711b767ae90397955805b98f
DND: Avoid a use-after-free

Cancelling the gesture causes the last_event pointer to become
invalid. Make a copy of the event so we can keep using it
regardless of the gesture state.
gtk/gtkdragsource.c